home *** CD-ROM | disk | FTP | other *** search
- oppThrow();
- oppX = this._x;
- oppY = this._y;
- differenceX = oppXnew - oppX;
- differenceY = oppYnew - oppY;
- if(Math.abs(differenceX) < 1 && Math.abs(differenceY) < 1)
- {
- gotoAndStop("start");
- play();
- _parent.oppMove--;
- }
- this._x += differenceX / _parent.oppSpeed;
- this._y += differenceY / _parent.oppSpeed;
-